[Feat] 유저 프로필 조회 시 이메일 추가#138
Conversation
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
Summary of ChangesHello, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! 본 PR은 유저 프로필 조회 API 응답 데이터에 사용자의 이메일 정보를 포함하기 위해 DTO를 수정하는 작업입니다. 이를 통해 클라이언트가 프로필 조회 시 이메일 정보를 확인할 수 있게 됩니다. Highlights
New Features🧠 You can now enable Memory (public preview) to help Gemini Code Assist learn from your team's feedback. This makes future code reviews more consistent and personalized to your project's style. Click here to enable Memory in your admin console. Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize the Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counterproductive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for GitHub and other Google products, sign up here. Footnotes
|
| ExerciseType exerciseType, | ||
| LocalDate birthDate | ||
| LocalDate birthDate, | ||
| String email |
There was a problem hiding this comment.
사용자 프로필 조회 응답에 이메일이 추가되었습니다. 이메일은 개인정보에 해당하므로 API 응답에 포함될 때 주의가 필요합니다.
이 GetUserProfileResponse DTO가 오직 인증된 사용자 본인의 정보를 조회하는 경우에만 사용된다면 문제가 없지만, 만약 다른 사용자의 프로필을 조회하는 데에도 사용된다면 개인정보가 노출될 수 있는 보안 취약점이 될 수 있습니다.
이 응답이 다른 사용자에게 노출될 가능성이 있다면, 이메일 필드를 제거하거나 다른 사용자를 위한 별도의 공개용 프로필 DTO를 만드는 것을 고려해 주세요. 예를 들어, GetPublicUserProfileResponse 와 같이 민감한 정보를 제외한 DTO를 분리하는 것이 좋은 방법이 될 수 있습니다.
🧾 요약
🔗 이슈
✨ 변경 내용
✅ 확인